<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="width: 200px;height: 200px;background: #ccc;">
        <p style="width: 100px; height: 100px; background: pink;">嘿嘿</p>
    </div>
    <hr>

    <!-- 
        标签不能瞎嵌套！！！

     -->
    <p style="width: 200px;height: 200px;background: red;">
        <div style="width: 100px; height: 100px; background: #1479d7;">嘿嘿</div>
    </p>
</body>
</html>